package com.example.mybatis.springbootdemo;

import com.alicp.jetcache.anno.config.EnableCreateCacheAnnotation;
import com.alicp.jetcache.anno.config.EnableMethodCache;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

@SpringBootApplication
@MapperScan(basePackages = {"com.example"})
@EnableMethodCache(basePackages = {"com.example.mybatis.springbootdemo.service"})
@EnableCreateCacheAnnotation
@EnableSwagger2
public class SBApp {

    public static void main(String[] args) {
        SpringApplication.run(SBApp.class, args);
    }

}
